package cn.iocoder.yudao.module.product.spu.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Schema(description = "管理后台 - 产品 SPU 置顶更新 Request VO")
@Data
public class ProductSpuUpdateStickyReqVO {

    @Schema(description = "产品编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "产品编号不能为空")
    private Long id;

    @Schema(description = "是否置顶", example = "false")
    private Boolean isSticky;

}
